import './assets/main.css'
// import axios from 'axios';
import axiosConfig from './js/axiosConfig.ts'
import { createApp } from 'vue'
import { createPinia } from 'pinia'
import App from './App.vue'

import { Swiper, SwiperSlide } from 'swiper/vue';
import 'swiper/css';
import { Autoplay, Pagination, Navigation } from 'swiper/modules';

import router from './router/route.js'
const pinia = createPinia()
const app = createApp(App)
app.component('Swiper', Swiper)
app.component('SwiperSlide', SwiperSlide)
// app.use(Swiper, {
//   modules: [Autoplay, Pagination, Navigation],
//   autoplay: {
//     delay: 3000,
//     disableOnInteraction: false,
//   },
//   pagination: {
//     el: '.swiper-pagination',
//     clickable: true,
//   },
//   navigation: {
//     nextEl: '.swiper-button-next',
//     prevEl: '.swiper-button-prev',
//   }
// })
app.use(router).use(pinia).mount('#app')
